<style lang='less'>

</style>

<template>
  <div>
    <read-idcard @ret-fun="retFun"></read-idcard>
    <Divider>呦呦切克闹</Divider>
    <Card style="width:500px">
      <p slot="title">
        <Icon type="ios-film-outline"></Icon>
        身份证返回信息
      </p>
      {{serverResult}}
    </Card>
  </div>
</template>

<script>
import ReadIdcard from '_c/read-idcard'
export default {
  components: { ReadIdcard },
  data () {
    return {
      serverResult: ''
    }
  },
  methods: {
    retFun (data) {
      console.log(data, '返回的信息')
      this.serverResult = JSON.stringify(data)
    }
  },
  mounted () {}
}
</script>

<style>

</style>
